package com.lin.cms.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lin.cms.criteria.AuthenticationCriteria;
import com.lin.cms.domain.Authentication;

public interface AuthenticationMapper {
	
	public int deleteExpire(Date d);
	
    int countByExample(AuthenticationCriteria example);

    int deleteByExample(AuthenticationCriteria example);

    int deleteByPrimaryKey(String authenticationId);

    int insert(Authentication record);

    int insertSelective(Authentication record);

    List<Authentication> selectByExample(AuthenticationCriteria example);

    Authentication selectByPrimaryKey(String authenticationId);

    int updateByExampleSelective(@Param("record") Authentication record, @Param("example") AuthenticationCriteria example);

    int updateByExample(@Param("record") Authentication record, @Param("example") AuthenticationCriteria example);

    int updateByPrimaryKeySelective(Authentication record);

    int updateByPrimaryKey(Authentication record);
}